package mvc.view.forms.buttons;

import mvc.model.IModel;

public class CViewActionsFactory {
	
	public static void executeAction(VIEW_ACTIONS pAction, IModel model){
		switch(pAction) {
		case ADD: model.add();break;
		case DELETE: model.delete();break;
		}
			
	}
}
